package com.eightbears.beboy.entity;

import com.eightbears.beboy.base.BaseEntity;
import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/10/19.
 */

public class FriendCirleEntity extends BaseEntity implements Serializable {

    /**
     * status_code : 200
     * data : {"list":[{"id":4,"user_id":101,"images":["https://beboy-test.oss-cn-shanghai.aliyuncs.com/image/59e465584c2dd.jpeg"],"content":"测试测试","status":1,"created_at":"1508140376","user":{"user_id":101,"nickname":"Harris","cover":"https://beboy-test.oss-cn-shanghai.aliyuncs.com/image/avatar_101_1503474632.jpeg"},"points":{"user_id":101,"point":78,"total_point":78,"level":1,"point_to_next":23}},{"id":3,"user_id":101,"images":["https://beboy-test.oss-cn-shanghai.aliyuncs.com/image/59e4562e424f2.jpeg"],"content":"测试测试","status":1,"created_at":"1508136494","user":{"user_id":101,"nickname":"Harris","cover":"https://beboy-test.oss-cn-shanghai.aliyuncs.com/image/avatar_101_1503474632.jpeg"},"points":{"user_id":101,"point":78,"total_point":78,"level":1,"point_to_next":23}},{"id":2,"user_id":101,"images":"","content":"测试测试","status":1,"created_at":"1508127073","user":{"user_id":101,"nickname":"Harris","cover":"https://beboy-test.oss-cn-shanghai.aliyuncs.com/image/avatar_101_1503474632.jpeg"},"points":{"user_id":101,"point":78,"total_point":78,"level":1,"point_to_next":23}}],"next_page":2,"page_size":"10","is_end":1}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * list : [{"id":4,"user_id":101,"images":["https://beboy-test.oss-cn-shanghai.aliyuncs.com/image/59e465584c2dd.jpeg"],"content":"测试测试","status":1,"created_at":"1508140376","user":{"user_id":101,"nickname":"Harris","cover":"https://beboy-test.oss-cn-shanghai.aliyuncs.com/image/avatar_101_1503474632.jpeg"},"points":{"user_id":101,"point":78,"total_point":78,"level":1,"point_to_next":23}},{"id":3,"user_id":101,"images":["https://beboy-test.oss-cn-shanghai.aliyuncs.com/image/59e4562e424f2.jpeg"],"content":"测试测试","status":1,"created_at":"1508136494","user":{"user_id":101,"nickname":"Harris","cover":"https://beboy-test.oss-cn-shanghai.aliyuncs.com/image/avatar_101_1503474632.jpeg"},"points":{"user_id":101,"point":78,"total_point":78,"level":1,"point_to_next":23}},{"id":2,"user_id":101,"images":"","content":"测试测试","status":1,"created_at":"1508127073","user":{"user_id":101,"nickname":"Harris","cover":"https://beboy-test.oss-cn-shanghai.aliyuncs.com/image/avatar_101_1503474632.jpeg"},"points":{"user_id":101,"point":78,"total_point":78,"level":1,"point_to_next":23}}]
         * next_page : 2
         * page_size : 10
         * is_end : 1
         */
        private int next_page;
        private String page_size;
        private int is_end;
        private List<ListBean> list;

        public int getNext_page() {
            return next_page;
        }

        public void setNext_page(int next_page) {
            this.next_page = next_page;
        }

        public String getPage_size() {
            return page_size;
        }

        public void setPage_size(String page_size) {
            this.page_size = page_size;
        }

        public int getIs_end() {
            return is_end;
        }

        public void setIs_end(int is_end) {
            this.is_end = is_end;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * id : 4
             * user_id : 101
             * images : ["https://beboy-test.oss-cn-shanghai.aliyuncs.com/image/59e465584c2dd.jpeg"]
             * content : 测试测试
             * status : 1
             * created_at : 1508140376
             * user : {"user_id":101,"nickname":"Harris","cover":"https://beboy-test.oss-cn-shanghai.aliyuncs.com/image/avatar_101_1503474632.jpeg"}
             * points : {"user_id":101,"point":78,"total_point":78,"level":1,"point_to_next":23}
             */

            private int id;
            private int user_id;
            private String content;
            private int status;
            private String created_at;
            private UserBean user;
            private PointsBean points;
            private List<String> images;
            private boolean isHeadTitle;

            //
            public boolean isHeadTitle() {
                return isHeadTitle;
            }

            public void setHeadTitle(boolean headTitle) {
                isHeadTitle = headTitle;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getUser_id() {
                return user_id;
            }

            public void setUser_id(int user_id) {
                this.user_id = user_id;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public UserBean getUser() {
                return user;
            }

            public void setUser(UserBean user) {
                this.user = user;
            }

            public PointsBean getPoints() {
                return points;
            }

            public void setPoints(PointsBean points) {
                this.points = points;
            }

            public List<String> getImages() {
                return images;
            }

            public void setImages(List<String> images) {
                this.images = images;
            }

            public static class UserBean {
                /**
                 * user_id : 101
                 * nickname : Harris
                 * cover : https://beboy-test.oss-cn-shanghai.aliyuncs.com/image/avatar_101_1503474632.jpeg
                 */

                private int user_id;
                private String nickname;
                private String cover;
                private int vip_level;

                public int getVip_level() {
                    return vip_level;
                }

                public void setVip_level(int vip_level) {
                    this.vip_level = vip_level;
                }

                public int getUser_id() {
                    return user_id;
                }

                public void setUser_id(int user_id) {
                    this.user_id = user_id;
                }

                public String getNickname() {
                    return nickname;
                }

                public void setNickname(String nickname) {
                    this.nickname = nickname;
                }

                public String getCover() {
                    return cover;
                }

                public void setCover(String cover) {
                    this.cover = cover;
                }
            }

            public static class PointsBean {
                /**
                 * user_id : 101
                 * point : 78
                 * total_point : 78
                 * level : 1
                 * point_to_next : 23
                 */

                private int user_id;
                private int point;
                private int total_point;
                private int level;
                private int point_to_next;

                public int getUser_id() {
                    return user_id;
                }

                public void setUser_id(int user_id) {
                    this.user_id = user_id;
                }

                public int getPoint() {
                    return point;
                }

                public void setPoint(int point) {
                    this.point = point;
                }

                public int getTotal_point() {
                    return total_point;
                }

                public void setTotal_point(int total_point) {
                    this.total_point = total_point;
                }

                public int getLevel() {
                    return level;
                }

                public void setLevel(int level) {
                    this.level = level;
                }

                public int getPoint_to_next() {
                    return point_to_next;
                }

                public void setPoint_to_next(int point_to_next) {
                    this.point_to_next = point_to_next;
                }
            }
        }
    }
}

//
//    private boolean isHeadTitle;
//
//    public boolean isHeadTitle() {
//        return isHeadTitle;
//    }
//
//    public void setHeadTitle(boolean headTitle) {
//        isHeadTitle = headTitle;
//    }
